package org.lemon.cla.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.lemon.cla.enums.WeekdayEnum;

@Data
@Schema(description = "食堂菜单创建请求对象")
public class CanteenMenuCreateRequest {

    @NotBlank(message = "食堂名称不能为空")
    @Schema(description = "食堂名称", example = "一食堂", required = true)
    private String canteenName;

    @NotBlank(message = "图片URL不能为空")
    @Schema(description = "图片URL", example = "http://example.com/menu_dish.jpg", required = true)
    private String imgUrl;

    @NotNull(message = "星期不能为空")
    @Schema(description = "星期", example = "周一", allowableValues = {"周日", "周一", "周二", "周三", "周四", "周五", "周六"}, required = true)
    private WeekdayEnum weekday;
}